// 路由配置

import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
const routes: RouteRecordRaw[] = [{
  path: '/login',
  component: () => import('../page/login/index.vue')
},
{
  path: '/',
  component: () => import('../components/LayOut.vue'),
  children: [{
    path: '/user',
    component: () => import('../page/user/index.vue')
  }]
},]
const router = createRouter({
  routes,
  history: createWebHashHistory()
})

export default router